//
// Created by ASUS on 2025/4/24.
//

#include "manager.h"

manager::manager(int id ,string name,int dId){
    this->id=id;
    this->name=name;
    this->deptId=dId;
}
manager::manager(){

};
//显示信息
void manager::ShowTnfo(){
    cout<<"id:"<< this->id
        <<"\tname:"<<this->name
        <<"\tdeptid:"<<this->getDeptName()
        <<"\tduty:finish your work which boss give and command your employee"<<endl;
}

//获取岗位
string manager::getDeptName(){
    return string("manager");
};
